package com.woniuxy.caradmin.service;


import com.woniuxy.caradmin.entity.pojo.Driver;
import com.woniuxy.caradmin.entity.vo.DriverVo;

import java.util.List;

public interface DriverService  {
    //查询所有驾驶员信息
    public List<Driver> selectAllDriver();
    //增加驾驶员
    public Integer insertDriver(Driver driver);
    //删除驾驶员
    public Integer delectDriver(Integer id);
    //修改驾驶员
    public Integer updateDriver(Driver driver);
    //根据驾驶员的名字和电话模糊查询
    public List<Driver> selectNameAndPho(DriverVo driverVo);

    //批量删除驾驶员
    public boolean delectAllPathDriver(Integer[] ids);
}
